﻿<?xml version="1.0" encoding="utf-8"?>
<GAME xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="gameData.xsd">
  <WINDOW>
    <WIDTH>640</WIDTH>
    <HEIGHT>480</HEIGHT>
  </WINDOW>

  <LIST_TEXTURES>
    <TEXTURE frameWidth="640" frameHeight="1024" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/map1v3.png</TEXTURE>
    <TEXTURE frameWidth="640" frameHeight="626" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/map2v3.png</TEXTURE>
    <TEXTURE frameWidth="70" frameHeight="62" numberOfFramePerRow="7" numberOfFrame="28">./data/Textures/dragon.png</TEXTURE>
    <TEXTURE frameWidth="1" frameHeight="1" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/cloud1.png</TEXTURE>
    <TEXTURE frameWidth="1" frameHeight="1" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/cloud2.png</TEXTURE>
    <TEXTURE frameWidth="1" frameHeight="1" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/cloud3.png</TEXTURE>
    <TEXTURE frameWidth="15" frameHeight="19" numberOfFramePerRow="4" numberOfFrame="9">./data/Textures/fireball.png</TEXTURE>
    <TEXTURE frameWidth="15" frameHeight="21" numberOfFramePerRow="2" numberOfFrame="2">./data/Textures/projectileEnemy.png</TEXTURE>
    <TEXTURE frameWidth="43" frameHeight="60" numberOfFramePerRow="3" numberOfFrame="5">./data/Textures/enemies.png</TEXTURE>
    <TEXTURE frameWidth="11" frameHeight="11" numberOfFramePerRow="7" numberOfFrame="7">./data/Textures/explosion.png</TEXTURE>
    <TEXTURE frameWidth="47" frameHeight="47" numberOfFramePerRow="4" numberOfFrame="7">./data/Textures/explosionShip.png</TEXTURE>
    <TEXTURE frameWidth="161" frameHeight="56" numberOfFramePerRow="6" numberOfFrame="14">./data/Textures/explosionDragon.png</TEXTURE>
    <TEXTURE frameWidth="32" frameHeight="26" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/life.png</TEXTURE>
    <TEXTURE frameWidth="640" frameHeight="480" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/stampedeStudio.png</TEXTURE>
    <TEXTURE frameWidth="125" frameHeight="40" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/borderLife.png</TEXTURE>
    <TEXTURE frameWidth="640" frameHeight="480" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/menu.png</TEXTURE>
    <TEXTURE frameWidth="239" frameHeight="222" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/d.png</TEXTURE>
    <TEXTURE frameWidth="400" frameHeight="300" numberOfFramePerRow="1" numberOfFrame="1">./data/Textures/option.png</TEXTURE>
    <TEXTURE frameWidth="141" frameHeight="172" numberOfFramePerRow="2" numberOfFrame="2">./data/Textures/bossBody.png</TEXTURE>
    <TEXTURE frameWidth="64" frameHeight="169" numberOfFramePerRow="4" numberOfFrame="4">./data/Textures/bossSide.png</TEXTURE>
    <TEXTURE frameWidth="30" frameHeight="46" numberOfFramePerRow="8" numberOfFrame="8">./data/Textures/bossEyes.png</TEXTURE>
    <TEXTURE frameWidth="62" frameHeight="61" numberOfFramePerRow="4" numberOfFrame="4">./data/Textures/bossMouth.png</TEXTURE>   
  </LIST_TEXTURES>

  <LIST_FONT>
    <FONT frameWidth="24" frameHeight="24" numberOfFramePerRow="20" numberOfFrame="36">./data/Textures/font.png</FONT>
  </LIST_FONT>
  
  <LIST_SOUNDS>
    <SOUND>./data/Sounds/impact.wav</SOUND>
    <SOUND>./data/Sounds/explosionEnemy.wav</SOUND>
    <SOUND>./data/Sounds/fireball.wav</SOUND>
    <SOUND>./data/Sounds/enemyShoot.wav</SOUND>
    <SOUND>./data/Sounds/explosionBoss.wav</SOUND>
  </LIST_SOUNDS>

  <AI>
    <LEVEL numberOfWave="5">
      <WAVES>
        <WAVE numberOfEnemies="4" typeOfEnemies="0" timeToSpawn="5000" timeToLive="20000" timeBetweenEnemies="500">
          <WAYPOINT x="200" y="-100"/>
          <WAYPOINT x="580" y="100"/>
          <WAYPOINT x="580" y="250"/>
          <WAYPOINT x="350" y="100"/>
          <WAYPOINT x="350" y="350"/>
        </WAVE>
       <WAVE numberOfEnemies="4" typeOfEnemies="4" timeToSpawn="5000" timeToLive="15000" timeBetweenEnemies="700">
          <WAYPOINT x="10" y="-100"/>
          <WAYPOINT x="300" y="100"/>
          <WAYPOINT x="50" y="250"/>
          <WAYPOINT x="250" y="100"/>
          <WAYPOINT x="20" y="350"/>
        </WAVE>
        <WAVE numberOfEnemies="4" typeOfEnemies="1" timeToSpawn="25000" timeToLive="15000" timeBetweenEnemies="700">
          <WAYPOINT x="-100" y="100"/>
          <WAYPOINT x="10" y="100"/>
          <WAYPOINT x="10" y="250"/>
          <WAYPOINT x="350" y="250"/>
          <WAYPOINT x="350" y="100"/>
        </WAVE>
        <WAVE numberOfEnemies="5" typeOfEnemies="7" timeToSpawn="25000" timeToLive="20000" timeBetweenEnemies="700">
          <WAYPOINT x="10" y="-100"/>
          <WAYPOINT x="300" y="100"/>
          <WAYPOINT x="580" y="250"/>
          <WAYPOINT x="350" y="400"/>
          <WAYPOINT x="150" y="400"/>
          <WAYPOINT x="10" y="250"/>
        </WAVE>
        <WAVE numberOfEnemies="5" typeOfEnemies="8" timeToSpawn="40000" timeToLive="20000" timeBetweenEnemies="700">
          <WAYPOINT x="10" y="-100"/>
          <WAYPOINT x="300" y="100"/>
          <WAYPOINT x="10" y="250"/>
          <WAYPOINT x="580" y="250"/>
          <WAYPOINT x="150" y="400"/>
          <WAYPOINT x="350" y="400"/>
        </WAVE>
     </WAVES>
      <BOSS projectileTypeLeft="3" projectileTypeRight="4" timeToSpawn="60000" />
    </LEVEL>
  </AI>
  
</GAME>
